# !/usr/bin/python3
# -*- coding: utf-8 -*-
# @Time    : 2019/5/26 16:26
# @Author  : wenjxu
# @Email   : wenjxususu@163.com
# @File    : config.py
# @Software: PyCharm

from core import settings


class LazySettings(object):
    def __init__(self):
        for key in dir(settings):
            if key.isupper():
                values = getattr(settings, key)
                setattr(self, key, values)


settings = LazySettings()
